package com.mycompany.project.client;


import com.google.gwt.event.shared.EventHandler;

/**
 * @author Laboratorio Tv Collaborativa/Contenuti Digitali --> Sardegna District --> Crs4 --> Sardegna Ricerche
 * 
 * This an interface class used to define @SaStria custom event and i particular mode the 
 * onAnnotationMoved event. This onAnnotationMoved event should be occurs when a user move
 * an annotation on video player by @SaStria tools interface.     
 */
public interface SaStriaCustomEventHandler extends EventHandler {
	
	/**
	 * This method to implement occurs when a user move an annotation on video player by SaStria tools interface.
	 * The parameters contain SaStriaCustomEvent handler and information about the element moved
	 * @param eventv : SaStriaCustomEvent handler.
	 * @param newLeftAndPlayPosition : A NextActiveTag element containing the index and the start play position of
	 * annotation tag element that was moves. 
	 */
	void onAnnotationMoved(SaStriaCustomEvent event, NextActiveTag newLeftAndPlayPosition);	
}
